package zz;

public class Sta {
    static String name="小张";
    int age;
    static void ps(){
        System.out.println("这是一个静态方法");
        System.out.println(name);
    }
    static{
        System.out.println(name);
        int age=10;//静态代码块
        System.out.println(age);
    }
}
